<!--
  // Creation History
  // --------------------------------------------------------------
  //	Company:			HTHK
  //	NAME:				JobList.jsp
  //	TITLE:				Job List
  //	FUNCTION:			List the Searching result.
  //	BY:					Jet Tao
  //	DATE:				09/2003
  // --------------------------------------------------------------
-->

<html>
<%@ include file="../tssheader.jsp" %>
<%@ page import="tss.job.*" %>
<body>
<%
	 JobBean[] Jobs = (JobBean[])request.getAttribute("Jobs");
     if (Jobs==null)
        Jobs = new Job[0];  
%>
<body >
<h2>Job Maintenance</h2>
<INPUT type=button value=Back onclick="location.href= '<%=contextPath%>/tss/job/JobSearch.jsp'">
<h5>Total: <%=Jobs.length%> Job(s)</h5>
<table cols=6 border=1 >
<thead>
  <td><b>Job&nbsp;Name</b></td>
  <td><b>Comments</b></td>
</thead>
<%  for (int i=0; i<Jobs.length; i++)
    {           
%>
<tr>
	<td><a	href="<%=contextPath%>/servlet/tss.job.JobSearch?formAction=Update&	job_name=<%=Jobs[i].getJob_name()%>"
	><%=Jobs[i].getJob_name()%></a></td>
    <td><%=Jobs[i].getComments()%></td>

</tr>
<%  } %>
</table>
</body>
<%@ include file="../tssfooter.jsp" %>
</body>
</html>

